package com.smbms.service.personnelfileservice;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smbms.dao.personnelfile.PersonnelfileMapper;
import com.smbms.pojo.personnelfile.Personnelfile;
@Service
public class PersonnelfilesServiceImpl implements PersonnelfilesService {

	@Autowired
	private PersonnelfileMapper personnelfileMapper;
	/*@Override
	public List<Personnelfile> getPFSelList() {
		
		return personnelfileMapper.getPFSelList();
	}*/
	
	@Override
	public int getUpdId(int id) {
		return personnelfileMapper.getUpdId(id);
	}
	@Override
	public int getRefer(int id) {
		return personnelfileMapper.getRefer(id);
	}
	@Override
	public Personnelfile getOriginal(int id) {
	
		return personnelfileMapper.getOriginal(id);
	}
	@Override
	public int getRecover(int id, int pf_state) {
		// TODO Auto-generated method stub
		return personnelfileMapper.getRecover(id, pf_state);
	}
	@Override
	public List<Personnelfile> getConditionList(Personnelfile pf) {
	
		return personnelfileMapper.getConditionList(pf);
	}

	

	@Override
	public int getDelpersonnelfile(int id) {
		
		return personnelfileMapper.getDelpersonnelfile(id);
	}

	@Override
	public int getAddpersonnelfile(Personnelfile pf) {
		
		return personnelfileMapper.getAddpersonnelfile(pf);
	}

	@Override
	public int getPFcount() {
	
		return personnelfileMapper.getPFcount();
	}
	@Override
	public Personnelfile getShow(int id) {
		// TODO Auto-generated method stub
		return personnelfileMapper.getShow(id);
	}
	@Override
	public int getModification(Personnelfile pf) {

		return personnelfileMapper.getModification(pf);
	}
	@Override
	public int getReview(Personnelfile pf) {
		// TODO Auto-generated method stub
		return personnelfileMapper.getReview(pf);
	}
	@Override
	public int getReject(int id) {
		return personnelfileMapper.getReject(id);
	}
	@Override
	public int getChange(Personnelfile pf) {
		// TODO Auto-generated method stub
		return personnelfileMapper.getChange(pf);
	}
	
	
}
